/*
 * @Authoryour name
 * @Date2020-11-28 23:06:48
 * @LastEditTime2020-11-28 23:06:48
 * @LastEditorsyour name
 * @DescriptionIn User Settings Edit
 * @FilePath\STM32H750_FreeRTOS\User\schedule\schedule_cfg.c
 */ 
#include "schedule.h"
#include "led.h"
#include "shell.h"

const task_info_t task_infos[TASK_NUM] = 
{
    /* Led task */
    {
        .task_handler = (TaskFunction_t)led_task,
        .task_name    = "led_task",
        .stack_depth  = LED_TASK_STACK_SIZE,
        .para         = NULL,
        .priority     = 1,
        .stack_buffer = led_task_stack,
        .tcb          = &led_task_tcb,
    },
    /* shell task */
    {
        .task_handler = (TaskFunction_t)shell_task,
        .task_name    = "shell_task",
        .stack_depth  = SHELL_TASK_STACK_SIZE,
        .para         = NULL,
        .priority     = 2,
        .stack_buffer = shell_task_stack,
        .tcb          = &shell_task_tcb,
    },
};

